package com.dcy.znoa.dao.user;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.mapper.EntityWrapper;
import com.baomidou.mybatisplus.plugins.Page;
import com.dcy.znoa.controller.publiz.model.messNotice.AddMessNoticeListModel;
import com.dcy.znoa.controller.publiz.model.oper.BatchValidOperModel;
import com.dcy.znoa.controller.publiz.model.oper.SelectOperModel;
import com.dcy.znoa.domain.Oper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface OperDao extends BaseMapper<Oper>{
    Oper selectForUpdateById(@Param("id") Long id);

    List<Oper> selectOperList(Oper oper);

    List<Oper> selectListMapper(SelectOperModel model, Page page);

    Integer batchValid(BatchValidOperModel model);

    List<Oper> selectOperListBatchIds(AddMessNoticeListModel model);
}
